package com.hz.pay.center.mapper;


import com.hz.pay.center.model.MerchantInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MerchantInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(MerchantInfo record);

    int insertSelective(MerchantInfo record);

    MerchantInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MerchantInfo record);

    int updateByPrimaryKey(MerchantInfo record);

    /**
     * 根据商户id查询商户信息
     * @param mchId
     * @return
     */
    MerchantInfo  queryMchInfoByMchId(@Param("mchId") String mchId);
}